package com.itboy.mall.pms.spuinfodesc.bo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.*;


/**
 * spu信息介绍编辑对象 mall_spu_info_desc
 *
 * @author itboy
 * @date 2021-08-08
 */
@Data
@ApiModel("spu信息介绍编辑对象")
public class MallSpuInfoDescEditBo {


    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    @NotNull(message = "商品id不能为空")
	@JsonSerialize(using = ToStringSerializer.class)
    private Long spuId;

    /**
     * 商品介绍
     */
    @ApiModelProperty("商品介绍")
    @NotBlank(message = "商品介绍不能为空")
    private String decript;
}
